<html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:t="http://myfaces.apache.org/tomahawk">

<f:view>
<f:loadBundle var="text" basename="#{dwdbList.bundleName}"/>
    <head>
        <title>#{text['dwdbList.title']}</title>
        <meta name="heading" content="#{text['dwdbList.heading']}"/>
        <meta name="menu" content="DwdbMenu"/>
    </head>
<body id="dwdbList">
<h:form id="editDwdb">

<h:commandButton value="#{text['button.add']}" action="add" id="add" immediate="true" styleClass="button"/>
<h:commandButton value="#{text['button.done']}" action="mainMenu" id="cancel" immediate="true" styleClass="button" style="margin-left: 5px"/>

<t:dataTable id="dwdbs" var="dwdb" style="margin-top: 10px"
    value="#{dwdbList.dwdbs}" rows="25" sortColumn="#{dwdbList.sortColumn}"
    sortAscending="#{dwdbList.ascending}" styleClass="scrollerTable table"
    headerClass="standardTable_Header" rowClasses="standardTable_Row1,standardTable_Row2"
    columnClasses="standardTable_Column,standardTable_Column,standardTable_Column,standardTable_Column,standardTable_ColumnCentered">

    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="bdbmc" arrow="true">
                <h:outputText value="#{text['dwdb.bdbmc']}" />
            </t:commandSortHeader>
        </f:facet>
        <h:commandLink action="#{dwdbForm.edit}" value="#{dwdb.bdbmc}">
            <f:param name="dwdbid" value="#{dwdb.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
    
     <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="qzsj" arrow="true">
                <h:outputText value="#{text['dwdb.qzsj']}" />
            </t:commandSortHeader>
        </f:facet>
        <h:commandLink action="#{dwdbForm.edit}" value="#{dwdb.qzsj}">
            <f:param name="dwdbid" value="#{dwdb.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
    <!-- 
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="bz" arrow="true">
                <h:outputText value="#{text['dwdb.bz']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{dwdb.bz}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="dbje" arrow="true">
                <h:outputText value="#{text['dwdb.dbje']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{dwdb.dbje}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="dbzrzl" arrow="true">
                <h:outputText value="#{text['dwdb.dbzrzl']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{dwdb.dbzrzl}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="jbh" arrow="true">
                <h:outputText value="#{text['dwdb.jbh']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{dwdb.jbh}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="operation" arrow="true">
                <h:outputText value="#{text['dwdb.operation']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{dwdb.operation}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="optdate" arrow="true">
                <h:outputText value="#{text['dwdb.optdate']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{dwdb.optdate}" escape="true"/>
    </t:column>
   
        <f:facet name="header">
            <t:commandSortHeader columnName="username" arrow="true">
                <h:outputText value="#{text['dwdb.username']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{dwdb.username}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="version" arrow="true">
                <h:outputText value="#{text['dwdb.version']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{dwdb.version}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="xh" arrow="true">
                <h:outputText value="#{text['dwdb.xh']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{dwdb.xh}" escape="true"/>
    </t:column>
     -->
</t:dataTable>

<ui:include src="/common/tableFooter.xhtml">
    <ui:param name="tableName" value="dwdbs"/>
</ui:include>

<script type="text/javascript">
    highlightTableRows("editDwdb:dwdbs");
</script>

</h:form>
</body>
</f:view>
</html> 